﻿using System.ComponentModel;

namespace Domain.Models
{
    [DisplayName("用户角色")]
    public class AccountRole
    {
        [DisplayName("用户编号")]
        public int AccountId { get; set; }

        [DisplayName("角色编号")]
        public int RoleId { get; set; }

        [DisplayName("账户")]
        public virtual Account Account { get; set; }

        [DisplayName("角色")]
        public virtual Role Role { get; set; }
    }
}
